package com.vois.jack.btmgr.devices.WL100Dev;

public interface WLHandMicConstant {
    int SEND_POC_CMD                = 0x01;
    int SEND_POC_CUR_STATE          = 0x02;
    int SEND_NAME                   = 0x03;
    int SEND_SLEEP_INTERVAL         = 0x04;
    int SEND_SYSTEM_TIME            = 0x05;
    int SEND_LANG_TYPE              = 0x06;
    int SEND_INIT_INFO              = 0x07;

    String HANDMIC_RECORDER         = "HANDMIC_RECORDER";

    String INT_TYPE                 = "WLHANDMIC.INT.TYPE";
    String BYTE_CMD                 = "WLHANDMIC.BYTE.CMD";
    String BYTE_PARAM               = "WLHANDMIC.BYTE.PARAM";
    String BYTE_POC_STATE           = "WLHANDMIC.BYTE.POC_STATE";
    String STRING_NAME              = "WLHANDMIC.STRING.NAME";
    String BYTE_NAME_TYPE           = "WLHANDMIC.BYTE.NAME_TYPE";
    String BYTE_SUBCMD              = "WLHANDMIC.BYTE.SUB_CMD";
    String SHORT_INTERVAL           = "WLHANDMIC.SHORT.INTERVAL";
    String BYTE_LANG_TYPE           = "WLHANDMIC.BYTE.LANG_TYPE";

    int AUDIO_MODE_IN_CALL = 1;                     //该参数主要用于机型适配时调试使用，5.0以下请使用AUDIO_MODE_ONE，SDK会自适应
    int AUDIO_MODE_IN_COMMUNICATION = 2;            //该参数主要用于机型适配时调试使用，5.0以上请使用AUDIO_MODE_TWO，SDK会自适应
    int AUDIO_MODE_NORMAL   = 3;                    //该参数主要用于机型适配时调试使用，5.0以上请使用AUDIO_MODE_TWO，SDK会自适应

    String[] keyStr = {
            "KEY_EVENT_UNKNOWN",
            "KEY_EVENT_PTT_PRESSED","KEY_EVENT_PTT_RELEASE",
            "KEY_EVENT_PREV","KEY_EVENT_NEXT",
            "KEY_EVENT_ACCEPT","KEY_EVENT_REJECT",
            "KEY_EVENT_SOS","KEY_EVENT_VOLUME_UP",
            "KEY_EVENT_VOLUME_DOWN","KEY_EVENT_ANCHOR"};

    int MSG_KEY_EVENT               = 0x300;
    int MSG_KEY_RELEASE             = 0x301;
    int MSG_VOLUME_EVENT            = 0x302;
    int MSG_DEVICE_READY            = 0x303;
    int MSG_BT_AUDIO_STATE_CHANGE   = 0x304;

    String EXTRA_HANDMIC_VER = "com.voistech.bthandmic.EXTRA_HANDMIC_VER";
    String EXTRA_AUDIO_STATE = "com.voistech.bthandmic.EXTRA_AUDIO_STATE";
    String EXTRA_KEY_EVENT = "com.voistech.bthandmic.EXTRA_KEY_EVENT";
    String EXTRA_NAME = "com.voistech.bthandmic.EXTRA_NAME";
    String EXTRA_NAME_TYPE = "com.voistech.bthandmic.EXTRA_NAME_TYPE";
    String EXTRA_PTT_CMD = "com.voistech.bthandmic.EXTRA_PTT_CMD";
    String EXTRA_INTERVAL = "com.voistech.bthandmic.EXTRA_INTERVAL";
    String EXTRA_VOLUME = "com.voistech.bthandmic.EXTRA_VOLUME";

    byte POC_STATE_IN_CONNECTED = (byte)0x01;
    byte POC_STATE_OUT_CONNECTED = (byte)0x02;
    byte POC_STATE_DISCONNECTED = (byte)0x03;

    byte POC_CMD_INCOMING = (byte)0x01;
    byte POC_CMD_REQUEST = (byte)0x02;

    byte SPP_PHONE_INFO_MAIN_CMD = (byte)0xd0;
    byte SPP_PHONE_INFO_SUB_OWNER_NAME = (byte)0xd1;
    byte SPP_PHONE_INFO_SUB_PEER_NAME = (byte)0xd2;
    byte SPP_PHONE_INFO_SUB_GROUP_NAME = (byte)0xd3;
    byte SPP_PHONE_INFO_SUB_INCOMMING_NAME = (byte)0xd4;
    byte SPP_PHONE_INFO_SUB_TIME      = (byte)0xd5;
    byte SPP_PHONE_STATE_MAIN_CMD = (byte)0xe0;
    byte SPP_PHONE_STATE_SUB_POCCMD = (byte)0xe1;
    byte SPP_PHONE_STATE_SUB_CURSTATE = (byte)0xe2;
    byte SPP_PHONE_CONFIGURATION_CMD = (byte)0xa0;
    byte SPP_PHONE_CONFIG_SUB_SCREEN_SLEEP= (byte)0xa1;
    byte SPP_PHONE_CONFIG_SUB_NORMAL_SLEEP = (byte)0xa2;
    byte SPP_PHONE_CONFIG_SUB_DEEP_SLEEP = (byte)0xa3;
    byte SPP_PHONE_CONFIG_SUB_VOICE_GAIN = (byte)0xa4;
    byte SPP_PHONE_CONFIG_SUB_LANGUAGE = (byte)0xa5;
    byte SPP_PHONE_CONFIG_SUB_VOLUMN = (byte)0xa6;
    byte SPP_PHONE_CONFIG_SUB_USING_EXT_SPEAKER_WITH_HEADSET = (byte)0xa7;
    byte SPP_PHONE_INIT_MAIN_CMD = (byte)0xfe;
    byte SPP_PHONE_ENTER_FACTORY_TEST_MODE = (byte)0xbe;
}
